package router

import "gitea.in/wx-rdc/service-base/internal/api/task"

func setApiRouter(r *resource) {
	// task
	taskHandler := task.New(r.logger, r.db)
	taskApi := r.mux.Group("/task")
	{
		taskApi.POST("/list", taskHandler.List())
	}
}
